package org.vacoor.ticket.bean.option;

import java.util.Map;

import org.vacoor.ticket.bean.SeatType;

/**
 * 从服务器获取的车票队列信息
 * 
 * @author vacoor
 * 
 */
public class QueueInfo {
	// 是否可以购买(排队人数是否已经超过余票张数,不能提交)
	private boolean isBuy;
	// 队长(前面还有多少人)
	private String queueCount;
	// 车票信息
	private Map<SeatType, Integer> allSeatInfo;

	public boolean isBuy() {
		return isBuy;
	}

	public void setBuy(boolean isBuy) {
		this.isBuy = isBuy;
	}

	public String getQueueCount() {
		return queueCount;
	}

	public void setQueueCount(String queueCount) {
		this.queueCount = queueCount;
	}

	public Map<SeatType, Integer> getAllSeatInfo() {
		return allSeatInfo;
	}

	public void setAllSeatInfo(Map<SeatType, Integer> allSeatInfo) {
		this.allSeatInfo = allSeatInfo;
	}
}
